package gclib.entities;

import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 *
 * @author Jason
 */
@Entity
@Table(name="GC_CHARACTER")
public class Character implements Serializable{

    @Id
    private Integer characterId;

    @OneToOne(cascade=CascadeType.ALL)
    @JoinColumn(name="fk_abilities")
    private AbilitySet abilities;

}
